<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="header::header" />
<body>
	<table id="dg" class="easyui-datagrid" data-options="url:'pageQuery1',idField:'iid',rownumbers:true,singleSelect:false,method:'post',toolbar:'#dgtoolbar',pagination:true,pageSize:20,pageList:[20,30,50],fit:true,onLoadSuccess:onDGLoadSuccess">
		<thead>
			<tr>
				<th data-options="field:'backname'" width="150" align="center">机构名称</th>
				<th data-options="field:'dhhf'" width="100" align="center">当月走访<br/>电话回复（次）</th>
				<th data-options="field:'smzf'" width="120" align="center">累计走访<br/>上门走访（次）</th>
				<th data-options="field:'dcyx'" width="180" align="center">本行无贷<br/>达成意向（次）</th>
				<th data-options="field:'hzje'" width="180" align="center">问题能够解决<br/>合作金额（万）</th>
			</tr>
		</thead>
	</table>
	<!-- 弹出框 -->
	<div id="dlg" class="easyui-dialog" title="操作" style="padding:5px" data-options="buttons: '#dlg-buttons',closed:'true',modal:true">
		<form id="dataform" method="post" enctype="multipart/form-data">
			<table>
				<tr>
					<td>轮播图标题:</td>
					<td><input name="iid" id="iid" type="hidden"> <input name="cpicname" id="cpicname" type="hidden"> <input name="cpicpath" id="cpicpath" type="hidden"> <input name="cpicsize" id="cpicsize" type="hidden"> <input name="clocation" id="clocation" type="hidden"> </input> <input name="ccontent" class="easyui-textbox" style="width: 200px"
						data-options="required:true"
					></input></td>
				</tr>
				<tr>
					<td>是否发布:</td>
					<td><input name="iissue" id="iissue" class="easyui-combobox" style="width: 200px" data-options="panelHeight:'auto',required:true,url:'../dicdetails/findItems?ckey=sf',valueField:'iid',textField:'cname'"></input></td>
				</tr>
				<tr>
					<td>投放位置:</td>
					<td><input id="ilocation" name="ilocation" class="easyui-combobox" style="width: 200px" data-options="panelHeight:'auto',required:true,url:'../dicdetails/findItems?ckey=advertiselocation',valueField:'iid',textField:'cname'"></input></td>
				</tr>
				<!-- 	<tr>
					<td>价格:</td>
					<td><input name="iadvertiseprice" class="easyui-numberbox" style="width: 200px" data-options=""></input></td>
				</tr> -->
				<tr>
					<td>点击跳转地址:</td>
					<td><input name="cskiplinks" class="easyui-textbox" style="width: 200px" data-options=""></input></td>
				</tr>
				<tr>
					<td>排序:</td>
					<td><input name="isort" class="easyui-numberspinner" style="width: 200px" data-options="min:0,max:100,required:true"></input></td>
				</tr>
				<tr>
					<td>上传文件:</td>
					<td><input type="file" name="upfile" id="upfile"></input></td>
				</tr>
			</table>
		</form>
	</div>
	<!-- 弹出框工具栏 -->
	<div id="dlg-buttons">
		<a id="dlg-savebtn" href="javascript:void(0)" style="width:50" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
		<a id="dlg-closebtn" href="javascript:void(0)" style="width:50" class="easyui-linkbutton" iconCls="icon-no">关闭</a>
	</div>
</body>
<script type="text/javascript" th:src="@{/common/GridView.js}"></script>
<script type="text/javascript" th:inline="javascript">
	$(document).ready(function() {
		$("#ilocation").combobox({
			onChange : function() {
				$("#clocation").val($("#ilocation").combobox("getText"));

			}
		})

	})
</script>
</html>